﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web/BizWeb.Master" AutoEventWireup="true" CodeBehind="OrderList.aspx.cs" Inherits="FrameWork.web.Web.Project.OrderList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<%--<FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadTitleTxt="订单列表">              
            </FrameWorkWebControls:HeadMenuWebControls>--%>
<asp:GridView runat="server" ID="GridView1" OnSorting="GridView1_Sorting" OnRowCreated="GridView1_RowCreated">
    <Columns>
        <asp:TemplateField HeaderText="ID号" SortExpression="PrjID">    
            <ItemTemplate>
                 <a href='OrderDetail.aspx?id=<%#Eval("ID") %>' target="_self"><span runat="server" id="spPrjID"><%#Eval("PrjID") %></span></a>
                 <span runat="server" id="spID" style="display:none;"><%#Eval("ID") %></span>
           </ItemTemplate>     
        </asp:TemplateField>
        <asp:TemplateField HeaderText="项目名称"  SortExpression="PrjName">    
            <ItemTemplate>
                 <span runat="server" id="spPrjName"><%#Eval("PrjName") %></span>
           </ItemTemplate>     
        </asp:TemplateField>
        <asp:TemplateField HeaderText="城市" SortExpression="CityName">    
            <ItemTemplate>
                 <span runat="server" id="spCityName"><%#Eval("CityName") %></span>
           </ItemTemplate>     
        </asp:TemplateField>
        <asp:TemplateField HeaderText="商店" SortExpression="ShopName">    
            <ItemTemplate>
                 <span runat="server" id="spShopName"><%#Eval("ShopName") %></span>
           </ItemTemplate>     
        </asp:TemplateField>
         <asp:TemplateField HeaderText="类型" SortExpression="ProductType">    
            <ItemTemplate>
                 <span runat="server" id="spProductType"><%#Eval("ProductType")%></span>
           </ItemTemplate>     
        </asp:TemplateField>
        <asp:TemplateField HeaderText="商店联系人" SortExpression="ShopLinkMan">    
            <ItemTemplate>
                 <span runat="server" id="spShopLinkMan"><%#Eval("ShopLinkMan")%></span>
           </ItemTemplate>     
        </asp:TemplateField>
       <asp:TemplateField HeaderText="企划" SortExpression="PlanMakerName">    
            <ItemTemplate>
                 <span runat="server" id="spPlanMaker"><%#Eval("PlanMakerName")%></span>
           </ItemTemplate>     
        </asp:TemplateField>
        <asp:TemplateField HeaderText="营业" SortExpression="SalemanName">    
            <ItemTemplate>
                 <span runat="server" id="spSaleMan"><%#Eval("SalemanName")%></span>
           </ItemTemplate>     
        </asp:TemplateField>
    <asp:TemplateField HeaderText="代理商" SortExpression="AgentClientName">    
            <ItemTemplate>
                 <span runat="server" id="spAgentClient"><%#Eval("AgentClientName")%></span>
           </ItemTemplate>     
        </asp:TemplateField>
         <asp:TemplateField HeaderText="创建时间" SortExpression="CreateTime">    
            <ItemTemplate>
                 <span runat="server" id="spCreateTime"><%#Eval("CreateTime")%></span>
           </ItemTemplate>     
        </asp:TemplateField> 
       <asp:TemplateField HeaderText="订单状态" SortExpression="PreSaleState">    
            <ItemTemplate>
                 <a href='OrderDetail.aspx?id=<%#Eval("ID") %>' target="_self" class="statuslnk">
                 <span runat="server" id="spCreateTime"><%#Eval("StatusDescr")%></span></a>
           </ItemTemplate>     
        </asp:TemplateField>
        <asp:TemplateField HeaderText="执行人" SortExpression="CurOpUserName">    
            <ItemTemplate>
                 <span runat="server" id="spCurOpUserName"><%#Eval("CurOpUserName")%></span>
           </ItemTemplate>     
        </asp:TemplateField>  

    </Columns>
</asp:GridView>
    <FrameWorkWebControls:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged" PageSize="15" class="pgpanel1">
    </FrameWorkWebControls:AspNetPager>
</asp:Content>
